import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextLine()) {
            StringBuffer sb = new StringBuffer();
            String str = in.nextLine();
            for (int i = 0; i < str.length(); i++) {
                char ch = str.charAt(i);
                if (ch == ' ') {
                    sb.append(" ");
                } else {
                    sb.append((char)(ch > 'E' ? ch - 5 : ch + 21));
                }
            }
            System.out.println(sb.toString());
        }
    }
}

